import { registerPlugin } from '@capacitor/core';

import type { BaiduOcrPlugin } from './definitions';

const BaiduOcr = registerPlugin<BaiduOcrPlugin>('BaiduOcr', {
  web: () => import('./web').then(m => new m.BaiduOcrWeb()),
});

export * from './definitions';
export { BaiduOcr };
